<template>
  <div class="select-game-type">
    <select v-model="type">
      <option v-for="(lan, k) in gameType" :key="k" :value="k">{{
        lan
      }}</option>
    </select>
  </div>
</template>

<script>
  import { Select, Option } from 'element-ui';

  export default {
    name: 'selectGameType',
    data() {
      return {
        gameType: ['RimWorld'],
        type: ''
      };
    },
    components: {
      teSelect: Select,
      teOption: Option
    },
    mounted() {
      this.type = this.gameType[0];
    },
  };
</script>

<style scoped>
  .select-game-type {
    display: flex;
    justify-content: space-between;
  }

  select {
    border-radius: 0;
    padding: 8px;
    width: 50%;
    color: #fff;
    -webkit-appearance: none;
    text-align: center;
    text-align-last: center;
  }
  select:hover {
    background: #008ae6;
  }
</style>
